import formRequest from "@/utils/formRequest.js";

/**
 * 获取已经发布的表单列表
 */
export function page({
  pageNum = 1,
  pageSize = 10,
  formName = "",
  formStatus = null
}) {
  return formRequest({
    url: "form/manager/security/main/page",
    method: "get",
    params: {
      authorizeKey: process.env.VUE_APP_FROM_AUTHORIZE_KEY,
      formStatus,
      pageNum,
      pageSize,
      formName
    }
  });
}
